-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(aws): Add experimental AWS Lambda extension for tunnelling events #17525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
size-limit report 📦
|
node-overhead report 🧳Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.
|
723a8d6
to
d98074a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
packages/aws-serverless/src/lambda-extension/aws-lambda-extension.ts
Outdated
Show resolved
Hide resolved
8307ff2
to
ea0ba59
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work!
packages/aws-serverless/src/lambda-extension/aws-lambda-extension.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 excited for this upgrade!
471443a
to
e1b617a
Compare
Uh oh!
There was an error while loading. Please reload this page.
This introduces a new experimental Sentry Lambda extension within the existing Sentry Lambda layer. Sentry events are being tunnelled through the extension, where they are then forwarded to Sentry.
Initial benchmarks using ApacheBench show a reduction in request processing time of around 26% (from 243ms to 180ms on average over 100 requests; function pre-warmed).
To enable it, set
_experiments.enableLambdaExtension
in your Sentry config like this:closes #12856
relates to #3051